package cn.xiaopengstack.domain.trade.model.aggregate;

import cn.xiaopengstack.domain.trade.model.entity.PayDiscountEntity;
import cn.xiaopengstack.domain.trade.model.entity.PayActivityEntity;
import cn.xiaopengstack.domain.trade.model.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 锁单聚合对象
 * @author jiangyangang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LockOrderAggregate {
    /**
     * 用户实体
     */
    private UserEntity userEntity;

    /**
     * 支付活动实体
     */
    private PayActivityEntity payActivityEntity;

    /**
     * 支付折扣实体
     */
    private PayDiscountEntity payDiscountEntity;

    /**
     * 用户参与拼团活动下单次数
     */
    private Integer userTakeOverActivityCount;
}
